package com.cn.ycy.aop.annation;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@ComponentScan
/**
 * 开启aop注解扫描
 * 类似于在 spring配置文件中添加 <aop:aspectj-autoproxy>
 */
@EnableAspectJAutoProxy(proxyTargetClass = true)
//@EnableAspectJAutoProxy
public class CompentScanConfig {

}
